package com.glink.manage.domain;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel(value = "vehicle_info对象", description = "车辆和特种设备")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("vehicle_info")
public class VehicleInfoBean {

    @ApiModelProperty(value = "车辆和特征设备主键ID")
    @TableId
    private String objId;

    @ApiModelProperty(value = "车牌号（唯一）")
    private String licensePlate;

    @ApiModelProperty(value = "车主")
    private String owner;

    @ApiModelProperty(value = "所属单位")
    private String organization;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "外观照片")
    private String appearancePhoto;  // 型号

    @ApiModelProperty(value = "证件图片")
    private String document;  // 出厂序列号

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;  // 创建时间

    @ApiModelProperty(value = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private String createUser; // 创建人

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;  // 更新时间

    @ApiModelProperty(value = "更新人")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser; // 更新人

    @ApiModelProperty(value = "是否删除")
    private String ifDelete;
}
